package cn.touna.jss.modules.credit.mapper;

import cn.touna.jss.modules.credit.entity.TaskRecordEntity;
import org.apache.ibatis.annotations.Param;

public interface TaskRecordEntityMapper {

    int insertNewTask(TaskRecordEntity record);

    TaskRecordEntity selectTaskByNoAndType(
            @Param("taskNo") String taskNo,
            @Param("taskType") String taskType
    );

    int completeTask(TaskRecordEntity record);
}